<template>
  <div><h1>带icon的按钮</h1>
    <dj-button :icon='icon' iconPosition="left" type="warning">默认按钮</dj-button>
    <dj-button :icon='icon' iconPosition="right" type="warning">默认按钮</dj-button></div>
</template>

<script>
export default {
  data(){
    return {
        icon: 'sousuo'
      }
  }
}
</script>

<style>

</style>